﻿namespace B.S.Passport.Read.API.Dto
{
    public class pDto
    {
        public int? PurchaseOrderId { get; set; }
        /// <summary>
        /// 采购生成的编号
        /// </summary>
        public string? PurchaseOrderNumber { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public string? BillType { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? AssociatedorderNumber { get; set; }
        /// <summary>
        /// 供应商名
        /// </summary>
        public string? SupplierName { get; set; }
        /// <summary>
        /// 客户客户名称
        /// </summary>
        public string? CustomerName { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? ContactPerson { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 收货日
        /// </summary>
        public DateTime? ReceiveDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? Maker { get; set; }
        public System.DateTime? MakeTime { get; set; } = System.DateTime.Parse("2019-05-25");
        public decimal? Quantity { get; set; }
        public decimal? UnitPrice { get; set; }
        public decimal? TotalPrice { get; set; }
        /// <summary>
        /// 产品名称
        /// Product name
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 厂家编码
        /// Manufacturer code
        /// </summary>
        public string ManufacturerCode { get; set; }

        /// <summary>
        /// 内部编码
        /// Internal code
        /// </summary>
        public string InternalCode { get; set; }

        /// <summary>
        /// 产品单位
        /// Product unit
        /// </summary>
        public int UnitId { get; set; }

        /// <summary>
        /// 产品类别
        /// Product category
        /// </summary>
        public string Category { get; set; }
        /// <summary>
        /// 产品规格
        /// Product specification
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 产品价格
        /// Product price
        /// </summary>
        public decimal Price { get; set; }
    }
}
